<section class="scrollable padder-lg" data-ng-controller="OwnerDetailController">
    <div class="m-b-md">
        <h3 class="m-b-none text-primary">
            <i class="fa fa-twitter"></i>
            &nbsp;我的详情
        </h3>
    </div>

    <!--普通用户信息编辑 -->
    <section class="panel panel-default">
        <div class="panel-body">
            <form class="form-horizontal">
                <div class="form-group">
                    <label for="yyzzh" class="col-sm-2 control-label">营业执照号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" disabled id="yyzzh" placeholder="营业执照号" data-ng-model="owner.yyzzh">
                    </div>
                </div>
                <div class="form-group">
                    <label for="fddbz" class="col-sm-2 control-label">法定代表人</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" disabled id="fddbz" placeholder="法定代表人" data-ng-model="owner.fddbz">
                    </div>
                </div>
                <div class="form-group">
                    <label for="idnum" class="col-sm-2 control-label">代表人身份证</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" disabled id="idnum" placeholder="代表人身份证" data-ng-model="owner.idnum">
                    </div>
                </div>
                <div class="form-group">
                    <label for="tel" class="col-sm-2 control-label">联系方式</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="tel" placeholder="联系方式" data-ng-model="owner.tel">
                    </div>
                </div>
                <div class="form-group">
                    <label for="address" class="col-sm-2 control-label">地址</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="address" placeholder="地址" data-ng-model="owner.address">
                    </div>
                </div>
                <div class="form-group">
                    <label for="company" class="col-sm-2 control-label">公司名称</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="company" placeholder="公司名称" data-ng-model="owner.company">
                    </div>
                </div>
                <div class="form-group">
                    <label for="duty" class="col-sm-2 control-label">税号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" disabled id="duty" placeholder="税号" data-ng-model="owner.duty">
                    </div>
                </div>
                <div class="form-group">
                    <label for="capitalNum" class="col-sm-2 control-label">注册资金</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="capitalNum" placeholder="注册资金" data-ng-model="owner.capitalNum">
                    </div>
                </div>
                <div class="form-group">
                    <label for="type" class="col-sm-2 control-label">营业类型</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="type" placeholder="营业类型" data-ng-model="owner.type">
                    </div>
                </div>
                <div class="form-group">
                    <label for="scale" class="col-sm-2 control-label">公司规模</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="scale" placeholder="公司规模" data-ng-model="owner.scale">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button ng-click="saveObj()" class="btn btn-primary">提交</button>


                        <button ng-if="owner.isEffect!='delete'" ng-click="delOwner()" class="btn btn-danger">注销业户</button>
                        <button ng-if="owner.isEffect=='delete'"  class="btn btn-danger">注销中</button>
                    </div>
                </div>
            </form>
        </div>
    </section>
</section>